<template>
    <view id="modal-mask">
        <view class="modal-content">
            <slot name="content"></slot>
        </view>
    </view>
</template>
<script>
export default {

}
</script>
<style scoped>
#modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}
#modal-mask .modal-content {
    background-color: #fff;
    width: 100%;
    height: 500px;
    border-radius: 10px;
}
</style>